package com.me.seckill;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author ME
 */
@SpringBootApplication
// mybatis-spring-boot-starter：要么启动类上通过 @MapperScan 指定包，要么 @Mapper 指定接口
@MapperScan("com.me.seckill.mapper")
public class ConsumerApplication {

    public static void main(String[] args) {
        SpringApplication.run(ConsumerApplication.class, args);
    }

}
